package com.chenfan.magic.dao;

import com.chenfan.magic.entity.ShopCom;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author liuming
 * @date 2022-01-08 17:30
 */
public interface ShopComMapper {


    /**
     * 根据店铺类型查询店铺列表
     *
     * @param userId
     * @param userId
     * @return
     */
    List<ShopCom> getList(@Param(value = "userId") Long userId, @Param(value = "isViewClosed") String isViewClosed);

    /**
     * 获取用户是否查看关店标志
     *
     * @param userId
     * @param userId
     * @return
     */
    String getUserViewClosedShop(@Param(value = "userId") Long userId);
}
